<template>
	<section>
		<full-screen-dialog title="付款记录" v-model="visible" :width="1200" destroy-on-close @closed="$emit('closed')">
		 
		<el-main class="nopadding">
			<scTable ref="mytable" border 
				:data="listData"
				:sort-orders="['ascending', 'descending']" 
                @selection-change="selectionChange"
                :hidePagination="true"
				stripe>
				<el-table-column label="收款日期" prop="tradeTime" width="170"></el-table-column> 
				<el-table-column label="收款金额" prop="tradeAmount" width="100"></el-table-column> 
				<el-table-column label="收款方式" prop="payTypeDesc" width="100"></el-table-column>
				<el-table-column label="收款银行" prop="payBankName" width="100"></el-table-column>
				<el-table-column label="银行账号" prop="payBankAccount" ></el-table-column>
				<el-table-column label="交易单号" prop="tradeCode" width="180"></el-table-column> 
				<el-table-column label="录单人" prop="createUser" width="100"></el-table-column>
				<el-table-column label="录单日期" prop="createTime" width="170"></el-table-column>
			</scTable> 
		</el-main>

		<template #footer>
			<div style="text-align: center;">
				<el-button @click="visible = false">关 闭</el-button> 
			</div> 
		</template>

	   </full-screen-dialog> 
	</section>
	 
</template>

<script> 
	import tool from "@/utils/tool";   
	export default { 
		data() {
			return {
				visible:false,
				listData:[],
			}
		},
		methods: { 
			//显示
            open(mode = "Add") {
                this.mode = mode;
                this.visible = true;
                return this;
            },
			async setData(data){
                this.visible=true;
                this.listData=data
			}, 
		
		}, 
	}
</script>

<style>
</style>
